package com.zzyl.nursing.mapper;


import com.zzyl.nursing.domain.NursingProject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 护理项目Mapper接口
 * 
 * @author zhangyan
 * @date 2025-05-23
 */
public interface NursingProjectMapper extends BaseMapper<NursingProject> {

    @Select("select name label,id value from nursing_project where status = 1")
    List<NursingProjectVo> getAll();
}
